<?php 
require 'config.php';
require 'ConnDB.php';
class UserModel{
	private $conn;
	function __construct(){

		$this->conn=new ConnDB(DB_HOST,DB_USER,DB_PWD,DB_DBNAME);
	}
function getUserList(){
	$sql="select * from users";
	$data=$this->conn->query($sql);
return $data;


}

}

 ?>